import React from 'react';
// import { useIntl } from 'umi';

import Tabs, { TabsProps } from '@/components/Tabs';
import Style from '../../components/batteryIndex.less';

// import { FaultOverview } from '../../components/overviews';

export const Overview: React.FC = () => {
  // const intl = useIntl();
  const items: TabsProps['items'] = [
    // {
    //   key: 'fault',
    //   label: intl.formatMessage({ id: 'stationRealtimeMonitoring.faultOverview' }),
    //   children: <FaultOverview />,
    // },
    //单体不做展示
    // {
    //   key: 'batteryCell',
    //   label: intl.formatMessage({ id: 'stationRealtimeMonitoring.batteryCellOverview' }),
    //   children: <BatteryCellOverview />,
    // },
  ];

  return <Tabs items={items} className={Style.secondTabs} />;
};
